<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>OpenLayers v8.2.0 API - Class: EsriJSON</title>
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css"
        crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
    <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
    <link rel="stylesheet" type="text/css" href="styles/carbon.css">
    <link rel="stylesheet" type="text/css" href="/theme/ol.css">
    <link rel="stylesheet" type="text/css" href="/theme/site.css">
</head>

<body>
    <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
        <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70"
                alt="">&nbsp;OpenLayers</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu"
            aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <!-- menu items that get hidden below 768px width -->
        <nav class="collapse navbar-collapse" id="olmenu">
            <ul class="nav navbar-nav ms-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="docdropdown">
                        <a class="dropdown-item" href="/doc/">Docs</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/doc/quickstart.html"><i
                                class="fa fa-check fa-fw me-2 fa-lg"></i>快速入门</a>
                        <a class="dropdown-item" href="/doc/faq.html"><i
                                class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
                        <a class="dropdown-item" href="/doc/tutorials/"><i
                                class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i
                                class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
                    </div>
                </li>
                <li class="nav-item"><a class="nav-link" href="/en/latest/examples/">Examples</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="apidropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-sitemap me-1"></i>API
                    </a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
                        <a class="dropdown-item" href="/en/latest/apidoc/"><i
                                class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v8.2.0
                            (latest)</a </div>
                </li>
            </ul>
        </nav>
    </header>

    <div class="container-fluid">
        <div id="wrap" class="row">
            <div class="navigation col-md-4 col-lg-3">
                <div class="search-wrapper">
                    <div class="search">
                        <input id="search" type="text" autocomplete="off" class="form-control input-sm"
                            placeholder="Search Documentation">
                    </div>
                </div>
                <div class="navigation-list-wrapper">
                    <ul class="navigation-list search-empty">
                        <li class="item item-class toggle-manual toggle-manual-show"
                            data-longname="module:ol/format/EsriJSON~EsriJSON" data-name="ol/format/esrijson">
                            <span class="title toggle">
                                <span class="fa fa-chevron-right me-2 mt-1"></span>
                                <span><a href="module-ol_format_EsriJSON-EsriJSON.html">ol​/format​/EsriJSON</a></span>
                            </span>
                            <div class="member-list" data-type="methods">
                                <span class="subtitle">Methods</span>
                                <ul>
                                    <li data-name="readfeature"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#readFeature">readFeature</a>
                                    <li data-name="readfeatures"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#readFeatures">readFeatures</a>
                                    <li data-name="readgeometry"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#readGeometry">readGeometry</a>
                                    <li data-name="readprojection"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#readProjection">readProjection</a>
                                    <li data-name="writefeature"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeFeature">writeFeature</a>
                                    <li data-name="writefeatureobject"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeFeatureObject">writeFeatureObject</a>
                                    <li data-name="writefeatures"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeFeatures">writeFeatures</a>
                                    <li data-name="writefeaturesobject"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeFeaturesObject">writeFeaturesObject</a>
                                    <li data-name="writegeometry"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeGeometry">writeGeometry</a>
                                    <li data-name="writegeometryobject"><a
                                            href="module-ol_format_EsriJSON-EsriJSON.html#writeGeometryObject">writeGeometryObject</a>
                                </ul>
                            </div>
                        <li class="loading">Loading …
                    </ul>
                </div>
            </div>

            <div class="main col-md-8 col-lg-9">
                <h1 class="page-title" data-filename="module-ol_format_EsriJSON-EsriJSON.html">Class: EsriJSON</h1>
                <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
                    <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert"
                        aria-label="Close"></button>
                    This documentation is for OpenLayers v<span id="package-version">8.2.0</span>. The <a
                        id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
                </div>




                <section class="content">

                    <header>
                        <h2 class="my-3">
                            <span class="ancestors"><a
                                    href="module-ol_format_EsriJSON.html">ol/format/EsriJSON</a>~</span>EsriJSON
                        </h2>
                        <br>



                        <pre
                            class="prettyprint source"><code>import EsriJSON from '<a href="module-ol_format_EsriJSON.html">ol/format/EsriJSON</a>.js';</code></pre>


                        <div class="row p-3 ">
                            <!-- <div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
                                <script async type="text/javascript"
                                    src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg"
                                    id="_carbonads_js"></script>
                            </div> -->

                            <div class="class-description col-lg-7 align-self-center ps-0">
                                <p>用于读取和写入EsriJSON 格式数据的功能格式。</p>
                            </div>

                        </div>
                    </header>

                    <article>
                        <div class="container-overview">



                            <dl>

                                <dt class="">

                                    <div class="nameContainer">
                                        <div class="anchor" id="EsriJSON">
                                        </div>
                                        <h4 class="name">
                                            new EsriJSON<span class="signature">(<span
                                                    class="optional">options</span>)</span>



                                        </h4>

                                        <div class="tag-source">
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js">format/EsriJSON.js</a>,
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js#L78">line
                                                78</a>
                                        </div>

                                    </div>


                                </dt>
                                <dd class="">













                                    <table class="params">
                                        <thead>
                                            <tr>

                                                <th>Name</th>


                                                <th>Type</th>

                                                <th class="last">Description</th>
                                            </tr>
                                        </thead>

                                        <tbody>


                                            <tr class="">

                                                <td class="name"><code>geometryName</code></td>



                                                <td class="type">


                                                    <span class="param-type">string</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>在创建功能时要使用的几何图形名称。 </p>
                                                </td>
                                            </tr>


                                        </tbody>
                                    </table>




                                    <dl class="details">





















                                    </dl>













                                </dd>

                            </dl>

                        </div>




                        <h3 class="subsection-title">Extends</h3>

                        <ul>
                            <li><a href="module-ol_format_JSONFeature-JSONFeature.html">JSONFeature</a></li>
                        </ul>















                        <h3 class="subsection-title">Methods</h3>

                        <dl>


                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="readFeature">
                                    </div>
                                    <h4 class="name">
                                        readFeature<span class="signature">(source, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_Feature.html#~FeatureLike">FeatureLike</a> | Array&lt;<a
                                                href="module-ol_render_Feature-RenderFeature.html">RenderFeature</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#readFeature">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L36">line
                                            36</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p> 读取一个功能。仅适用于单个功能。使用 <code>readFeatures</code>读取功能集合。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>source</code></td>



                                            <td class="type">


                                                <span class="param-type">ArrayBuffer</span>
                                                |

                                                <span class="param-type">Document</span>
                                                |

                                                <span class="param-type">Element</span>
                                                |

                                                <span class="param-type">Object</span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Source.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Read options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在读取的数据的投影。如果未提供，则将根据数据（在可能的情况下）或格式的
                                                                    <code>dataProjection</code>（在已设置的情况下）来推导投影。如果无法从数据中推导出投影，且格式为设置
                                                                    <code>dataProjection</code>，则不会重新投影特征。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>extent</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_extent.html#~Extent">Extent</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>正在读取的图块在地图单位中的范围。这仅在以像素作为几何单位读取数据时才需要。在配置时，需要提供一个以
                                                                    <code>TILE_PIXELS</code>为单位的
                                                                    <code>dataProjection</code>
                                                                    和<code>units</code>的像素范围作为<code>extent</code>。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>由格式读取器创建的特征几何图形的投影。如果未提供，则将返回<code>dataProjection</code>中的特征。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Feature.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="readFeatures">
                                    </div>
                                    <h4 class="name">
                                        readFeatures<span class="signature">(source, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array&lt;<a
                                                href="module-ol_Feature.html#~FeatureLike">FeatureLike</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#readFeatures">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L52">line
                                            52</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p> 读取所有功能。适用于单个功能和功能集合。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>source</code></td>



                                            <td class="type">


                                                <span class="param-type">ArrayBuffer</span>
                                                |

                                                <span class="param-type">Document</span>
                                                |

                                                <span class="param-type">Element</span>
                                                |

                                                <span class="param-type">Object</span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Source.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Read options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在读取的数据的投影。如果未提供，则将根据数据（在可能的情况下）或格式的
                                                                    <code>dataProjection</code>（在已设置的情况下）来推导投影。如果无法从数据中推导出投影，且格式为设置
                                                                    <code>dataProjection</code>，则不会重新投影特征。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>extent</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_extent.html#~Extent">Extent</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>正在读取的图块在地图单位中的范围。这仅在以像素作为几何单位读取数据时才需要。在配置时，需要提供一个以
                                                                    <code>TILE_PIXELS</code>为单位的
                                                                    <code>dataProjection</code>
                                                                    和<code>units</code>的像素范围作为<code>extent</code>。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>由格式读取器创建的特征几何图形的投影。如果未提供，则将返回<code>dataProjection</code>中的特征。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Features.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="readGeometry">
                                    </div>
                                    <h4 class="name">
                                        readGeometry<span class="signature">(source, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Geometry-Geometry.html">Geometry</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#readGeometry">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L89">line
                                            89</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p> 读取几何图形。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>source</code></td>



                                            <td class="type">


                                                <span class="param-type">ArrayBuffer</span>
                                                |

                                                <span class="param-type">Document</span>
                                                |

                                                <span class="param-type">Element</span>
                                                |

                                                <span class="param-type">Object</span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Source.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Read options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在读取的数据的投影。如果未提供，则将根据数据（在可能的情况下）或格式的
                                                                    <code>dataProjection</code>（在已设置的情况下）来推导投影。如果无法从数据中推导出投影，且格式为设置
                                                                    <code>dataProjection</code>，则不会重新投影特征。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>extent</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_extent.html#~Extent">Extent</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>正在读取的图块在地图单位中的范围。这仅在以像素作为几何单位读取数据时才需要。在配置时，需要提供一个以
                                                                    <code>TILE_PIXELS</code>为单位的
                                                                    <code>dataProjection</code>
                                                                    和<code>units</code>的像素范围作为<code>extent</code>。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>由格式读取器创建的特征几何图形的投影。如果未提供，则将返回<code>dataProjection</code>中的特征。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Geometry.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="readProjection">
                                    </div>
                                    <h4 class="name">
                                        readProjection<span class="signature">(source)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_proj_Projection-Projection.html">Projection</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#readProjection">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L114">line
                                            114</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>读取投影。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>source</code></td>



                                            <td class="type">


                                                <span class="param-type">ArrayBuffer</span>
                                                |

                                                <span class="param-type">Document</span>
                                                |

                                                <span class="param-type">Element</span>
                                                |

                                                <span class="param-type">Object</span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Source.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Projection.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="writeFeature">
                                    </div>
                                    <h4 class="name">
                                        writeFeature<span class="signature">(feature, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{string}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#writeFeature">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L136">line
                                            136</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将功能编码为字符串。 </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>feature</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_Feature-Feature.html">Feature</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Feature.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Encoded feature.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="writeFeatureObject">
                                    </div>
                                    <h4 class="name">
                                        writeFeatureObject<span class="signature">(feature, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Object}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js">format/EsriJSON.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js#L196">line
                                            196</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将功能编码为 EsriJSON Feature 对象。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>feature</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_Feature-Feature.html">Feature</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Feature.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Object.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="writeFeatures">
                                    </div>
                                    <h4 class="name">
                                        writeFeatures<span class="signature">(features, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{string}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#writeFeatures">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L158">line
                                            158</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将特征数组编码为字符串</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>features</code></td>



                                            <td class="type">


                                                <span class="param-type">Array&lt;<a
                                                        href="module-ol_Feature-Feature.html">Feature</a>></span>




                                            </td>



                                            <td class="description last">

                                                <p>Features.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Encoded features.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="writeFeaturesObject">
                                    </div>
                                    <h4 class="name">
                                        writeFeaturesObject<span class="signature">(features, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{EsriJSONFeatureSet}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js">format/EsriJSON.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js#L233">line
                                            233</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将功能数组编码为 EsriJSON 对象。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>features</code></td>



                                            <td class="type">


                                                <span class="param-type">Array&lt;<a
                                                        href="module-ol_Feature-Feature.html">Feature</a>></span>




                                            </td>



                                            <td class="description last">

                                                <p>Features.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                EsriJSON Object.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="writeGeometry">
                                    </div>
                                    <h4 class="name">
                                        writeGeometry<span class="signature">(geometry, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{string}</span>

                                        <span class="inherited"><a
                                                href="module-ol_format_JSONFeature-JSONFeature.html#writeGeometry">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js">format/JSONFeature.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/JSONFeature.js#L180">line
                                            180</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将几何图形编码为字符串。 </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>geometry</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_geom_Geometry-Geometry.html">Geometry</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Geometry.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Encoded geometry.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="writeGeometryObject">
                                    </div>
                                    <h4 class="name">
                                        writeGeometryObject<span class="signature">(geometry, <span
                                                class="optional">options</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{EsriJSONGeometry}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js">format/EsriJSON.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/EsriJSON.js#L184">line
                                            184</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将几何图形编码为 EsriJSON 对象。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>geometry</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_geom_Geometry-Geometry.html">Geometry</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Geometry.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Write options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>dataProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们正在写入的数据的投影。如果未提供，则将分配格式的<code>dataProjection</code>（在已设置的情况下）。如果未为格式设置<code>dataProjection</code>，则将特征返回至<code>featureProjection</code>.
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>featureProjection</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将由格式写入器序列化的特征几何图形的投影。如果未提供，则假定几何图形位于<code>dataProjection</code>中（如果已设置）；换句话说，它们不会被转换。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rightHanded</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在写入几何图形时，遵循线性环方向的右手定则。这意味着多边形将具有逆时针的外环和顺时针的内环。默认情况下，坐标将按照构建时提供的方式进行序列化。如果<code>true</code>，则应用右手定则。如果为<code>false</code>，则应用左手定则（外环为顺时针，内环为逆时针）。请注意，并非所有格式都支持此功能。在写入几何图形时，GeoJSON格式会使用此属性。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>decimals</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>坐标的最大小数位数。坐标在内部以浮点数形式存储，但浮点算术可以创建具有大量小数位的坐标，这在输出时通常是不需要的。在此处设置一个数字以对坐标进行四舍五入。也可以用于确保可以使用相同数量的小数位将读取的坐标写回。默认情况下不进行四舍五入。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Object.
                                <br />




                            </dd>

                        </dl>





                    </article>

                </section>




            </div>
        </div>
    </div>
    <script>prettyPrint();</script>
    <script src="scripts/linenumber.js"></script>
    <script src="scripts/main.js"></script>
</body>

</html>